//
//  MainTabBarViewController.h
//  酷狗游戏中心
//
//  Created by 卢泽添 on 15/7/15.
//  Copyright (c) 2015年 卢泽添. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, LxTabBarControllerInteractionStopReason) {
    LxTabBarControllerInteractionStopReasonFinished,
    LxTabBarControllerInteractionStopReasonCancelled,
    LxTabBarControllerInteractionStopReasonFailed,
};

#define LxTabBarControllerDidSelectViewControllerNotification   @"LxTabBarControllerDidSelectViewControllerNotification"


@interface MainTabBarViewController : UITabBarController

@property (nonatomic,assign) BOOL panToSwitchGestureRecognizerEnabled;
@property (nonatomic,assign) BOOL recognizeOtherGestureSimultaneously;
@property (nonatomic,readonly) BOOL isTranslating;
@property (nonatomic,copy) void (^panGestureRecognizerBeginBlock)();
@property (nonatomic,copy) void (^panGestureRecognizerStopBlock)(LxTabBarControllerInteractionStopReason stopReason);

@end
